package com.hmis.hmis.UserInterface.systemUI;

import javafx.scene.image.Image;
import javafx.scene.image.ImageView;

import java.util.Objects;

public class MainUIController {

    public ImageView imageView;

    public void initialize() {
        //image铺满整个窗口
        Image image = new Image(Objects.requireNonNull(getClass().getClassLoader().getResourceAsStream("hospital.jpg")));
        imageView.setImage(image);
        imageView.setPreserveRatio(false);
        imageView.setFitWidth(1123);
        imageView.setFitHeight(696);

    }
}
